<?php
namespace app\index\widget;
use think\Controller;
use think\Db;

class Pub extends Controller
{	
    //加载头部
    public function header(){
        return $this->fetch('Pub:header');
    }

    //加载底部
    public function footer(){
        $link = Db::table('t_admin_link')->select();

        return $this->fetch('Pub:footer',['link'=>$link]);
    }

}
